<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns:f="http://java.sun.com/jsf/core" 
	xmlns:h="http://java.sun.com/jsf/html" 
	xmlns:c="http://java.sun.com/jsp/jstl/core" 
	xmlns:ui="http://java.sun.com/jsf/facelets" 
	xmlns:p="http://primefaces.org/ui">
	

<f:view contentType="text/html">
	<h:head>
		<h:outputStylesheet library="css" name="common-style.css" />
		<h:outputScript library="primefaces" name="jquery/jquery.js" />	
		<h:outputScript library="javascript" name="common-scripts.js" />
		<h:outputScript  library="javascript" name="jquery-corner.js"  />
		<h:outputScript library="javascript" name="jquery-maskMoney.js"/>
		<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script> 	
	</h:head>
	
	<h:body>		
		<p:growl showDetail="true" globalOnly="true"/>
		<p:ajaxStatus onstart="statusDialog.show();" onsuccess="statusDialog.hide();"/>  
		 <table id="page" cellpadding="0" cellspacing="0">
	      <tbody>
	        <tr>
	          <td id="page-main">
	          	<ui:insert name="page">		
					<table cellpadding="0" cellspacing="0">
						<tr>
							<td id="body">
								<ui:insert name="body">
									<ui:include src="/faces/site/xhtml/body.xhtml" />
								</ui:insert>
							</td>
						</tr>
						<tr>
							<td id="footer" valign="top">
								<ui:insert name="footer">
									<ui:include src="/faces/site/xhtml/footer.xhtml" />
								</ui:insert>		
							</td>
						</tr>
					</table>
				</ui:insert>
	          </td>
	        </tr>
	      </tbody>
	    </table>
	    <p:dialog modal="true" widgetVar="statusDialog" header="#{msg['template.status.title']}"   
		        draggable="false" closable="false" resizable="false">  
		    <p:graphicImage value="#{resource['images:util/ajax-loader.gif']}" />  
		</p:dialog>  
	</h:body>	
</f:view>

</html>